package com.ruoyi.ma.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 材料计划业务对象 ma_material_plan
 *
 * @author llb
 * @date 2024-11-01
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class MaMaterialPlanBo extends BaseEntity {

    /**
     * 计划id
     */
//    @NotNull(message = "计划id不能为空", groups = { EditGroup.class })
    private Long planId;

    /**
     * 标段id
     */
//    @NotNull(message = "标段id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long bdId;

    private Long zdId;

    /**
     * 供应商id
     */
    @NotNull(message = "供应商id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long gysId;

    /**
     * 类型id
     */
//    @NotNull(message = "类型id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long type;

    /**
     * 所属时间
     */
//    @NotNull(message = "所属时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private String belongDate;

    /**
     * 编制日期
     */
//    @NotNull(message = "编制日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private String weaveDate;

    /**
     * 开始时间
     */
//    @NotNull(message = "开始时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private String beginDate;

    /**
     * 结束时间
     */
//    @NotNull(message = "结束时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private String endDate;

    /**
     * 当前环节
     */
//    @NotBlank(message = "当前环节不能为空", groups = { AddGroup.class, EditGroup.class })
    private String unit;

    /**
     * 工作流状态
     */
//    @NotBlank(message = "工作流状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String workflowsStateus;

    /**
     * 发送状态
     */
//    @NotBlank(message = "发送状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sendStateus;

    /**
     * 签收状态
     */
//    @NotBlank(message = "签收状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String signStateus;

    // 流程实例id
    private String proInsId;

}
